using System.Collections.Generic;

namespace AzManContrib.MVC.Html.Behaviors
{
    public class DisabledUIBehavior : UIBehaviorBase
    {
        public override bool ShouldRender
        {
            get { return true; }
        }

        public override IDictionary<string, object> GetHtmlAttributes(IDictionary<string, object> attributes)
        {
            return MergeHtmlAttributes(attributes ?? new Dictionary<string, object>(), "style", ";", "pointer-events: none; cursor: default");
        }
    }
}